<h3>
	<?php echo Araclar::yaz("Kullanıcı Güncelle",'Update User Info'); ?>
</h3>
<br /><br />
<?php
if(!empty($uyari)){
	echo "<font color='red'>$uyari</font>";
	echo "<br /><br />";
}
if(!empty($uyari_iyi)){
	echo "<font color='#09bb33'>$uyari_iyi</font>";
	echo "<br /><br />";
}

?>
<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'kullanicilar-kisisel-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>
	<table width='100%'>
		<tr>
			<td width="250"><?php echo Araclar::yaz("Adı",'First Name'); ?>: </td>
			<td>
				<?php echo $form->textField($model,'ad'); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Soyadı",'Last Name'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'soyad'); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Yaşı",'Age'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'yas',array('size'=>'5')); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Cinsiyeti",'Gender'); ?>:</td>
			<td>
				<?php echo $form->dropDownList($model,'cinsiyet',
									Cinsiyet::diziGetir()										
								); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Şifre",'Password'); ?>:</td>
			<td>
				<?php echo $form->passwordField($model,'sifre1'); ?>
				<br /><font size="3"><?php echo Araclar::yaz("Not: Eğer değiştirmek istemiyorsanız boş bırakınız.","Info: Leave blank if you don't want to change."); ?></font>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Şifreniz Tekrar",'Password Again'); ?>:</td>
			<td>
				<?php echo $form->passwordField($model,'sifre2'); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Eğitim Durumu",'Educational Background'); ?>:</td>
			<td>
				<?php echo $form->dropDownList($model,'egitim_durumu',
									EgitimDurumu::diziGetir()										
								); ?>
			</td>
		</tr>
<!--		
		<tr bgcolor="#d2dbe3">
			<td><?php //echo Araclar::yaz("Ailenin Aylık Gelir Düzeyi","Level of Monthly Income of the Family"); ?>:</td>
			<td>
				<?php //echo $form->dropDownList($model,'gelir_duzeyi',GelirDuzeyi::diziGetir()	); ?>
			</td>
		</tr>
-->
		<tr>
			<td><?php echo Araclar::yaz("E-posta adresi",'Email Adress'); ?>: </td>
			<td>
				<?php echo $form->textField($model,'eposta'); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Cep Telefonu",'Cell Phone'); ?>: </td>
			<td>
				<?php echo $form->textField($model,'cep_tel'); ?>
			</td>
		</tr>		<tr>
			<td colspan="2" bgcolor="#d2dbe3" height="40"><font color="#1980be"><big><?php echo Araclar::yaz("Çocukla ile ilgili bilgiler","Info about Son/Daughter"); ?></big></font></td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Adı",'First Name'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'cocuk_ad'); ?>
			</td>
		</tr>
		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Soyadı",'Last Name'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'cocuk_soyad'); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Yaşı",'Age'); ?>:</td>
			<td>
				<?php echo $form->textField($model,'cocuk_yas',array('size'=>'5')); ?>
			</td>
		</tr>

		<tr bgcolor="#d2dbe3">
			<td><?php echo Araclar::yaz("Cinsiyeti",'Gender'); ?>:</td>
			<td>
				<?php echo $form->dropDownList($model,'cocuk_cinsiyet',
									Cinsiyet::diziGetir()										
								); ?>			
			</td>
		</tr>
		<tr>
			<td><?php echo Araclar::yaz("Engellilik Durumu",'Level of Disability'); ?>:</td>
			<td>
				<?php echo $form->textArea($model,'cocuk_engellilik_durumu',array('cols'=>'50','rows'=>'2')); ?>
			</td>
		</tr>
	</table>


	<div class="row buttons" align="center">
		<?php echo CHtml::submitButton(Araclar::yaz('Kaydet','Save')); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->